package com.xd.oauth.controller;


import com.xd.auth.api.entity.OauthRefreshToken;
import com.xd.auth.api.feign.OauthRefreshTokenClient;
import com.xd.oauth.service.OauthRefreshTokenService;
import com.xd.common.base.BaseController;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * 更新token储存(OauthRefreshToken)表控制层
 *
 * @author hbx
 * @since 2020-10-24 15:47:22
 */
@RestController
@RequestMapping("oauthRefreshToken")
@Transactional(rollbackFor = Exception.class)
public class OauthRefreshTokenController extends BaseController<OauthRefreshTokenService, OauthRefreshToken,String> implements OauthRefreshTokenClient {

    @Resource
    private OauthRefreshTokenService OauthRefreshTokenService;

}
